﻿using WeDonekRpc.Helper.Validate;

namespace Shop.RemoteModel.Shop.Model
{
    public class ShopSetArg
    {
        /// <summary>
        /// 店铺名称 
        ///</summary>
        [NullValidate("shop.name.null")]
        [LenValidate("shop.name.len", 2, 50)]
        public string ShopName { get; set; }
        /// <summary>
        /// 门店Logo 
        ///</summary>
        [LenValidate("shop.logo.len", 0, 255)]
        [FormatValidate("shop.logo.error", ValidateFormat.图片URI)]
        public string ShopLogo { get; set; }

        /// <summary>
        /// 介绍 
        ///</summary>
        [LenValidate("shop.show.len", 0, 255)]
        public string Show { get; set; }

    }
}
